package com.google.code.jmarias.client.tcp;

import java.util.HashSet;
import java.util.Set;

/**
 *
 * @author Ondrej Michal
 */
public class State {

    private String recipient;
    private Set<String> transitions = new HashSet<String>();

    public void addTransition(String transitionName) {
        transitions.add(transitionName);
    }

    public Set<String> getTransitions() {
        return transitions;
    }

    public String getRecipient() {
        return recipient;
    }

    public void setRecipient(String recipient) {
        this.recipient = recipient;
    }
}
